import React from 'react';
import {View, ScrollView, TouchableOpacity, Platform} from 'react-native';
import {Text, Button} from '@rneui/base';
import {useMount, useSetState} from 'ahooks';
import RNDI from 'react-native-device-info';
import {round} from 'lodash';
import style from './style.less';
export default () => {
  return (
    <ScrollView style={style.box}>
     
      <View style={style.group}>
        <View style={[style.item]}>
          <Text>操作系统</Text>
          <Text>
            {RNDI.getSystemName()}
            {RNDI.getSystemVersion()}
          </Text>
        </View>
        <View style={[style.item, style.itemNoBorder]}>
          <Text>Ip地址</Text>
          <Text>{RNDI.getIpAddressSync()}</Text>
        </View>
      </View>

      <View style={style.group}>
        <View style={[style.item, style.itemNoBorder]}>
          <Text></Text>
          <Text></Text>
        </View>
      </View>
    </ScrollView>
  );
};
